package com.lzm.ydpt.module.order.activity;

import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.byt.framlib.base.BaseActivity;
import com.byt.framlib.basemvp.BasePresenter;
import com.byt.framlib.commonwidget.LoadingTip;
import com.byt.framlib.commonwidget.NormalTitleBar;
import com.lzm.ydpt.Constants;
import com.lzm.ydpt.R;

import butterknife.BindView;

/**
 * 用户订单详情
 */
public class UserOrderDetailActivity extends BaseActivity {

    @BindView(R.id.ntb_user_order_details)
    NormalTitleBar ntb_user_order_details;
    @BindView(R.id.ltip_user_order_details)
    LoadingTip ltip_user_order_details;

    @BindView(R.id.rl_order_use_layout)
    LinearLayout rl_order_use_layout;
    @BindView(R.id.tv_order_details_use_title)
    TextView tv_order_details_use_title;
    @BindView(R.id.tv_order_details_use_tip)
    TextView tv_order_details_use_tip;
    @BindView(R.id.tv_order_time_use_tip)
    TextView tv_order_time_use_tip;
    @BindView(R.id.rl_order_use_btn)
    RelativeLayout rl_order_use_btn;
    @BindView(R.id.tv_cancel_order)
    TextView tv_cancel_order;
    @BindView(R.id.tv_next_order)
    TextView tv_next_order;

    @BindView(R.id.rl_order_show_layout)
    RelativeLayout rl_order_show_layout;
    @BindView(R.id.tv_order_details_title)
    TextView tv_order_details_title;
    @BindView(R.id.tv_order_details_tip)
    TextView tv_order_details_tip;

    @BindView(R.id.tv_order_mail_info)
    TextView tv_order_mail_info;
    @BindView(R.id.tv_order_mail_address)
    TextView tv_order_mail_address;

    @BindView(R.id.tv_order_delivery_info)
    TextView tv_order_delivery_info;
    @BindView(R.id.tv_order_delivery_address)
    TextView tv_order_delivery_address;

    @BindView(R.id.tv_order_detail_goods)
    TextView tv_order_detail_goods;
    @BindView(R.id.tv_order_detail_qu_time)
    TextView tv_order_detail_qu_time;
    @BindView(R.id.tv_order_detail_remark)
    TextView tv_order_detail_remark;
    @BindView(R.id.img_sign_order_detail)
    ImageView img_sign_order_detail;

    @BindView(R.id.tv_order_distance)
    TextView tv_order_distance;
    @BindView(R.id.tv_order_amount)
    TextView tv_order_amount;
    @BindView(R.id.tv_price_increase)
    TextView tv_price_increase;

    @BindView(R.id.tv_order_number)
    TextView tv_order_number;
    @BindView(R.id.tv_order_time)
    TextView tv_order_time;
    @BindView(R.id.tv_order_rmb_amount)
    TextView tv_order_rmb_amount;
    @BindView(R.id.tv_order_state)
    TextView tv_order_state;

    private long order_id = 0;

    @Override
    public int getLayoutId() {
        return R.layout.activity_user_order_details;
    }

    @Override
    public BasePresenter initPreData() {
        return null;
    }

    @Override
    public void initView() {
        order_id = getIntent().getLongExtra(Constants.INP_ORDER_ID, 0L);
        initTitle();
    }

    private void initTitle() {
        ntb_user_order_details.setTitleText("");
    }
}